package com.interview.one.model;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "message_info")
public class MessageInfo {
    @Id
    private Integer id;

    @Column(name = "msg_icon")
    private String msgIcon;

    @Column(name = "msg_title")
    private String msgTitle;

    @Column(name = "msg_content")
    private String msgContent;

    @Column(name = "msg_time")
    private String msgTime;

    @Column(name = "user_id")
    private Integer userId;
}